#!/bin/bash

NCL_SCRIPT_PATH="$HOME/Codes/WRF_scripts/util/"
wrfout_list=`find ~/wrfout/*/ -name "*wrfout_d0*_*\:00\:00" -print`

cd $NCL_SCRIPT_PATH
for ifile in $wrfout_list
do
    start_date=${ifile:25:10}
    echo $ifile
    echo $start_date
#    station_allvalue_dir="$wrfpost_dir/txt/station_allvalue/$start_date/$domain/"
#    echo $start_date
#    mkdir -p $station_allvalue_dir
#    ncl input_file='"'$ifile'"' output_prefix='"'$station_allvalue_dir'"' wrfout_to_station_allvalue.ncl
done
